package com.xingxue.entity;

import java.io.Serializable;

import org.yihang.annotation.DeleteBy;
import org.yihang.annotation.FindBy;
import org.yihang.annotation.FindByVo;
import org.yihang.annotation.VoType;
import org.yihang.annotation.easyui.DatagridColumn;
import org.yihang.annotation.easyui.Formatter;
import org.yihang.annotation.easyui.FormatterType;


@SuppressWarnings("serial")
public class Category implements Serializable {

    @FindBy(withMulti = true) @DeleteBy(withMulti=true)
    @DatagridColumn(align="left",title="编号", width=110)
    private int id;

    @DatagridColumn(align="left",title="名称", width=110)
    @FindByVo(voType=VoType.like)
    private String name;


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}
